package com.irdstudio.tdp.console.service.facade;

import java.util.List;
import java.util.Map;

import com.irdstudio.tdp.console.service.vo.BpmBaseInfoVO;

/**
 * <p>Description:流程基本信息				<p>
 * @author srvadmin
 * @date 2020-07-24
 */
public interface BpmBaseInfoService {
	
	public List<BpmBaseInfoVO> queryAllOwner(BpmBaseInfoVO bpmBaseInfoVo);
	
	public List<BpmBaseInfoVO> queryAllCurrOrg(BpmBaseInfoVO bpmBaseInfoVo);
	
	public List<BpmBaseInfoVO> queryAllCurrDownOrg(BpmBaseInfoVO bpmBaseInfoVo);
	
	public int insertBpmBaseInfo(BpmBaseInfoVO inBpmBaseInfoVo);
	
	public int deleteByPk(BpmBaseInfoVO bpmBaseInfoVo);
	
	public int updateByPk(BpmBaseInfoVO bpmBaseInfoVo);
	
	public BpmBaseInfoVO queryByPk(BpmBaseInfoVO bpmBaseInfoVo);

	/**
	 * 查询流程配置
	 * @param bpmId
	 * @return
	 */
	public Map<String, Object> queryBpmBaseInfoFlowData(String bpmId);

	/**
	 * 保存流程配置
	 * @param flowData
	 * @return
	 */
	public Boolean saveBpmBaseInfoFlowData(Map<String, Object> flowData);
}
